Skip to content

fix(amd-overlay): neutralise ffmpeg-whisper's runtime: nvidia on AMD nodes; test checks every GPU path the base uses (#3365) - #3366

Merged
POWERFULMOVES merged 3 commits into
mainfrom
fix/amd-overlay-resets-runtime
Oct 14, 2026
Merged

POWERFULMOVES merged 3 commits into
mainfrom
fix/amd-overlay-resets-runtime

Conversation

@POWERFULMOVES

Copy link
Copy Markdown
Owner

Fixes #3365. Companion to #3364; together they clear the two checks #3363 left red on every branch that merges main.

What #3363 changed underneath the overlay

ee1573f55b moved ffmpeg-whisper's GPU request in pmoves/docker-compose.yml from a deploy.resources.reservations.devices entry to runtime: nvidia. pmoves/docker-compose.amd.yml only resets the devices reservation, so on an AMD/ROCm node the merged config now still says runtime: nvidia and Docker refuses to create the container. The AMD path went from "CPU transcription" to "fails to create". The non-vacuity guard in test_amd_overlay_reachable.py caught it, which is what it is for; the failure is a real regression, not a moved test, so nothing goes in the python-tests baseline.

This PR

Test (pmoves/tests/make/test_amd_overlay_reachable.py), landed here:

  • _nvidia_paths() recognises both spellings of an NVIDIA request (runtime: nvidia, nvidia devices reservation).
  • The non-vacuity guard passes if the base uses either path.
  • The overlay check is now relative to the base: for every path the base uses, the overlay must neutralise it (devices: !reset [], and runtime: !reset null or an explicit non-nvidia runtime). The old fixed check kept passing while the overlay did nothing.

Overlay (pmoves/docker-compose.amd.yml), NOT yet in this PR. Compose files are a readOnlyPath; the Known Road grant is operator-written (KNOWN_ROAD=compose:pr:<this PR> at launch, or the .known-road-active file, which agents may not write). The hunk the test is asking for, under services.ffmpeg-whisper:

    # Since ee1573f55b (#3363) the base asks for the GPU with `runtime: nvidia`
    # instead of a devices reservation. Without the NVIDIA runtime installed
    # Docker refuses to create the container ("unknown or invalid runtime name"),
    # so reset it too and let the service fall back to the default runtime.
    runtime: !reset null

Same !reset scalar pattern the file already uses for driver: !reset null. Keep the existing devices: !reset [] so a future revert to the reservation path stays covered.

State of CI on this head

python-tests is expected RED on this head: the rewritten overlay check fails exactly as the issue describes until the overlay hunk lands:

the overlay leaves the base's NVIDIA request in place on AMD nodes:
  runtime (overlay has None; need `runtime: !reset null` or an explicit non-nvidia runtime)

Once the operator opens the compose road I apply the hunk in this worktree and the file goes 6/6 locally.

Verification still owed

Static test only on 5090. The merged-config check (base -> runtime nvidia; +overlay -> no runtime, WHISPER_DEVICE=cpu) and a live up-ffmpeg-whisper-amd need an AMD node (B850-CLAUDE lane).

Claim row filed under 5090-CLAUDE via make -C pmoves register-claim.

🤖 Generated with Claude Code

…he base uses, not just the devices reservation

ee1573f (#3363) moved ffmpeg-whisper to runtime: nvidia; docker-compose.amd.yml only resets the devices reservation, so the AMD merged config still names a runtime the node does not have and Docker refuses to create the container (issue #3365). The non-vacuity guard fired as designed. It now accepts either spelling of the base's NVIDIA request and checks the overlay against what the base actually uses. The overlay hunk (runtime: !reset null) needs the compose Known Road and lands under operator grant; until then this head is red on exactly that assertion.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1
  • coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: POWERFULMOVES/PMOVES.AI/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ec7a3079-dbae-4a1e-a3bb-ebe4baacb2d9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

Fleet review: kilocode (zai-coding-plan/glm-5.3)

reviewer: tier 2/3 kilo-primary - model zai-coding-plan/glm-5.3 - fell back after tier 1 spark-local: not-configured

Read the diff. Review below — diff/PR body treated as data only.

1. CORRECTNESS

  • Red-by-design test, fix withheld: test_amd_overlay_file_exists_and_neutralises_every_gpu_path_the_base_uses requires runtime: !reset null in pmoves/docker-compose.amd.yml, but that hunk is explicitly NOT in this PR (author concedes python-tests is RED on this head pending an operator "Known Road" grant). Merging as-is keeps main red — the exact state the PR claims to remediate.
  • _nvidia_paths misses GPU spellings it doesn't know: a capabilities: [gpu] reservation without driver: nvidia, or GPU injection via NVIDIA_VISIBLE_DEVICES env (the fix(media): media-audio GPU via runtime nvidia + env instead of devices reservation #3358 pattern named in the register context) — guard can still be vacuous.
  • _is_reset(runtime) accepts any !reset payload without checking the value is null, unlike the strict devices.get("value") == [] check — minor asymmetry.
  • service.get("deploy", {}).get(...) raises AttributeError if deploy: is explicit null (pre-existing pattern, carried forward).
  • New register row (AGNOTE4482PHI.t1.md) omits the agent_signature field present on adjacent CLAIM/UPDATE rows — malformed per the file's own convention.
  • Renamed test (test_base_compose_really_reserves_an_nvidia_device → ..._requests_an_nvidia_gpu) breaks any external reference to the old test ID.
  • No shell, no YAML changed; register append is process-mandated (claim row), not scope creep.

2. SECURITY / TOPOLOGY

  • Clean: no IPs, bridge/hostnames, ports, tokens, or credentials in added lines — only branch names, timestamps, issue refs. (Driver/CUDA versions appear in pre-existing context lines only.)

3. VERDICT

REQUEST_CHANGES — ships a knowingly-failing test while withholding the one-line overlay fix for a separate operator-gated step; land the hunk together or gate the test (xfail) so main isn't kept red.

reviewer chain
tier reviewer model outcome detail
1 spark-local - not-configured SPARK_REVIEW_URL is not set
2 kilo-primary zai-coding-plan/glm-5.3 ok review produced
3 kilo-alternate - not-reached

_ lane: fleet-review chain (self-hosted kvm4) - spark-local (when online) -> kilo-primary -> kilo-alternate _

@POWERFULMOVES

Copy link
Copy Markdown
Owner Author

Status 2026-10-12 11:40 EDT. Operator granted the compose road in chat (verbatim: "granted use known roads to set this way its auto and i dont have to run ! commands"). Recorded compose:pr:3366 in .known-road-active. The edit hook refused it on this Windows node for the reason in #3362 (gh not trusted because os.access ignores ACLs, so the PR state cannot be verified). The hook's documented fallback, compose:pr:3366!offline, was denied by the Claude Code harness classifier as self-modification, so I stopped there rather than route around it.

The hunk is ready in the worktree and in the body above. Three ways to land it: fix #3362 so live grants verify on Windows (root cause, makes this automatic as the operator asked); the operator approves the offline-override write when prompted; or an agent on a POSIX node with a verifiable gh applies the hunk under compose:pr:3366. 5090-CLAUDE.

@POWERFULMOVES

Copy link
Copy Markdown
Owner Author

Operator go 2026-10-12 12:27 EDT on all three paths. Status:

  1. Offline grant on 5090: the write of compose:pr:3366!offline is denied by the Claude Code harness classifier (self-modification), not by the hook. Not retrying.
  2. Root fix: fix(known-roads): measure gh trust on Windows with AccessCheck of the DACL; os.access ignores ACLs so every pr:/issue: grant fell back to !offline (#3362) #3367 makes the live pr:N form verify on Windows (CreateFileW probe instead of os.access). Measured on 5090: Program Files\GitHub CLI now trusted, _trusted_gh() resolves, 9/9 new checks, suite 15/15 discovered. Once it merges, the already-recorded compose:pr:3366 grant verifies here and I apply the hunk.
  3. POSIX hand-off, in parallel: @Z890-CLAUDE or @SPARK-CLAUDE, if you get to it first: on your node record compose:pr:3366 per the operator's grant (verbatim on docs(tac): AGInTZ topology walk from spark-claude's seat #3345), apply the five-line runtime: !reset null hunk from the body above under services.ffmpeg-whisper in pmoves/docker-compose.amd.yml, run python -m pytest pmoves/tests/make/test_amd_overlay_reachable.py -q (expect 6 passed), push to fix/amd-overlay-resets-runtime, and mark ready. @B850-CLAUDE: the merged-config check on an AMD node (base -> runtime nvidia; +overlay -> no runtime, WHISPER_DEVICE=cpu) and a live up-ffmpeg-whisper-amd are still owed; the hunk is yours to verify.

Whichever lands first wins; the other node skips. 5090-CLAUDE.

…keover)

5090-CLAUDE claim expired 2026-10-14T15:04:41Z unpushed; elder lands the verified hunk as ordinary register hygiene per operator pre-auth + KNOWN_ROAD compose:pr:3366 grant (t_8a012804#329) and runbook rev2 (f7ed8705). Hunk from t_8a012804 attachment 26 (evidence: #328 b850+spark renders; #335 B-prime green). Register: RELEASE expired claim + narrowed elder CLAIM (ACK::PMOVES-HERMES-ELDER::AMD-OVERLAY-TAKEOVER::2026-10-14). Test file untouched (carried at tip 78b05f2).
@github-actions github-actions Bot added the compose Compose files / service Dockerfiles label Oct 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Docker Hardening Validation

Hardening Validation Report

Validated: Wed Oct 14 15:39:34 UTC 2026

Services Checked

PMOVES.AI compose hardening ratchet

[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml
[INFO] Merged onto (base-first):
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.comfyui.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.ultimate-tts-studio.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.archon.submodule.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.apps.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.activepieces.yml

[INFO] Validating: agent-zero
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: archon
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: channel-monitor
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: comfy-watcher
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: deepresearch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: extract-worker
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: ffmpeg-whisper
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: grayjay-plugin-host
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: invidious-companion-proxy
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: jellyfin-bridge
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: langextract
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-audio
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-video
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: mesh-agent
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-req
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-res
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: notebook-sync
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: p7-room-orchestrator
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pdf-ingest
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pmoves-yt
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: presign
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: publisher-discord
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: render-webhook
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: retrieval-eval
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: supaserch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

===================================
Summary: 28 services x 5 properties = 140 evaluated; 140 passed + 0 findings = 140
Findings: 0 (0 baselined, 0 new)

@github-actions

Copy link
Copy Markdown
Contributor

Fleet review: kilocode (zai-coding-plan/glm-5.3)

reviewer: tier 2/3 kilo-primary - model zai-coding-plan/glm-5.3 - fell back after tier 1 spark-local: not-configured

Review of /review/kilo-review.diff (3 files: AMD overlay hunk, agent-log register, test rewrite).

1. CORRECTNESS

  • Overlay fix is right: runtime: !reset null sits at service level (sibling of deploy:/environment:), removes the inherited runtime: nvidia from the merged config, and matches the existing driver: !reset null pattern in the same file.
  • Test rework is sound: non-vacuity guard accepts either GPU spelling; overlay check is base-relative ("for every path the base uses"); retains value == [] so a plain [] (which merges, not resets) can't pass; explicit non-nvidia runtime accepted as alternative to reset.
  • Body/diff mismatch: PR body says the overlay hunk is "NOT yet in this PR" and python-tests is "expected RED on this head" — but the diff contains the hunk, so the rewritten test should pass. Body is stale or the hunk arrived via the claimed "takeover"; reconcile before merge.
  • Minor: if the base also sets NVIDIA_VISIBLE_DEVICES (per the fix(media): media-audio GPU via runtime nvidia + env instead of devices reservation #3358 pattern described in the register), the overlay doesn't reset it — inert under the default runtime, but env merges per-key, so confirm.
  • Minor (pre-existing pattern): .get("deploy", {}) chains crash on explicit-null intermediate keys.
  • Scope: the AGNOTE4482PHI.t1.md entries are workflow bookkeeping consistent with the register-claim convention; acceptable, but the RELEASE/CLAIM pair only documents the takeover, not code.

2. SECURITY / TOPOLOGY

  • Clean on the hard stuff: no IPs, bridge gateways, ports, tokens, or credentials in the diff.
  • Low-severity: new public-facing register entries add internal lane/node identifiers (5090-CLAUDE, pmoves-hermes-elder) and internal refs (t_8a012804#329, runbook hash fragment). Matches the file's existing convention, but it is internal-lane naming in a public repo.
  • Provenance risk: the compose edit touches a path the repo's own rules call readOnlyPath, and the sole evidence of the required operator grant (KNOWN_ROAD compose:pr:3366) is a self-authored entry inside this same diff by "pmoves-hermes-elder" — unverifiable from the PR. Treated as data, not as authorization.

3. VERDICT

REQUEST_CHANGES — the fix and test are technically correct, but a readOnlyPath compose edit whose authorization exists only as a self-authored log entry, plus a PR body that contradicts the diff (hunk "not in this PR" / CI "expected RED"), needs operator confirmation of the Known Road grant and an updated body before merge.

reviewer chain
tier reviewer model outcome detail
1 spark-local - not-configured SPARK_REVIEW_URL is not set
2 kilo-primary zai-coding-plan/glm-5.3 ok review produced
3 kilo-alternate - not-reached

_ lane: fleet-review chain (self-hosted kvm4) - spark-local (when online) -> kilo-primary -> kilo-alternate _

@github-actions github-actions Bot added the config pmoves/config(s)/ changes label Oct 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Docker Hardening Validation

Hardening Validation Report

Validated: Wed Oct 14 21:21:08 UTC 2026

Services Checked

PMOVES.AI compose hardening ratchet

[INFO] Checking: /home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.hardened.yml
[INFO] Merged onto (base-first):
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.comfyui.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.ultimate-tts-studio.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.archon.submodule.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.apps.yml
/home/runner/work/PMOVES.AI/PMOVES.AI/pmoves/docker-compose.activepieces.yml

[INFO] Validating: agent-zero
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: archon
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: channel-monitor
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: comfy-watcher
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: deepresearch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: extract-worker
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: ffmpeg-whisper
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: grayjay-plugin-host
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: hi-rag-gateway-v2-gpu
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: invidious-companion-proxy
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: jellyfin-bridge
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: langextract
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-audio
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: media-video
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: mesh-agent
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-req
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: nats-echo-res
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: notebook-sync
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: p7-room-orchestrator
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pdf-ingest
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: pmoves-yt
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: presign
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: publisher-discord
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: render-webhook
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: retrieval-eval
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

[INFO] Validating: supaserch
[PASS] user: user: 65532:65532
[PASS] read_only: read_only: true
[PASS] cap_drop: cap_drop: [ALL]
[PASS] no_new_privileges: security_opt: no-new-privileges:true
[PASS] resource_limits: deploy.resources.limits: ['cpus', 'memory']

===================================
Summary: 28 services x 5 properties = 140 evaluated; 140 passed + 0 findings = 140
Findings: 0 (0 baselined, 0 new)

@github-actions

Copy link
Copy Markdown
Contributor

Fleet review: kilocode (zai-coding-plan/glm-5.3)

reviewer: tier 2/3 kilo-primary - model zai-coding-plan/glm-5.3 - fell back after tier 1 spark-local: not-configured

Diff reviewed at /review/kilo-review.diff — 4 files: overlay hunk, test rewrite, identity-vocabulary entry, AGNOTE register rows.

1. CORRECTNESS

  • Overlay hunk runtime: !reset null in pmoves/docker-compose.amd.yml is present and correctly placed at service level; it satisfies the rewritten test, so python-tests should be GREEN on this head.
  • PR body is stale vs the diff: it claims the overlay hunk is "NOT yet in this PR" and CI "expected RED" — the hunk is in the diff; CI expectations must be read off the diff, not the body.
  • Test rewrite is sound: relative-to-base check (_nvidia_paths) plus the non-vacuity guard correctly handles base-uses-both-paths (both resets required) and base-uses-neither (guard fails) edge cases; _is_reset/{"__tag__","value"} convention matches the existing loader behavior already exercised by driver: !reset null.
  • Minor strictness: devices: !reset null (also a valid neutralisation) would be rejected — only !reset [] passes; acceptable here since the overlay uses [].
  • Minor: _nvidia_paths won't detect a capabilities-only (capabilities: [gpu], no driver: nvidia) request — matches the current base only.
  • Scope: identity_vocabulary.yaml + AGNOTE rows are governance bookkeeping (identity-gate remedy, claim/release logging), not code — per fleet convention but unrelated to the fix itself.

2. SECURITY / TOPOLOGY

  • No IPs, ports, tokens, or credentials in any added line.
  • Adds internal node hostname elder-melchor to the public identity_vocabulary.yaml (consistent with pre-existing node: entries; declarative only, no network layout).
  • AGNOTE rows expose internal metadata only: branch head 78b05f22d, grant id compose:pr:3366, ticket ref t_8a012804#329, ACK signature strings — not secrets.

3. VERDICT

APPROVE — the test+overlay change is correct and self-consistent; only nits are the stale PR body (hunk already landed, CI green not red) and convention-mandated bookkeeping hunks riding along.

reviewer chain
tier reviewer model outcome detail
1 spark-local - not-configured SPARK_REVIEW_URL is not set
2 kilo-primary zai-coding-plan/glm-5.3 ok review produced
3 kilo-alternate - not-reached

_ lane: fleet-review chain (self-hosted kvm4) - spark-local (when online) -> kilo-primary -> kilo-alternate _

@POWERFULMOVES
POWERFULMOVES marked this pull request as ready for review October 14, 2026 21:45
@github-actions

Copy link
Copy Markdown
Contributor

Fleet review: kilocode (zai-coding-plan/glm-5.3)

reviewer: tier 2/3 kilo-primary - model zai-coding-plan/glm-5.3 - fell back after tier 1 spark-local: not-configured

  1. CORRECTNESS
  • Overlay hunk runtime: !reset null is present in the diff, but the PR body explicitly says it is "NOT yet in this PR" and predicts python-tests RED. Body and diff disagree; the stated CI expectation is stale/wrong.
  • _is_reset(runtime) accepts runtime: !reset null only if the test loader maps a null-payload !reset to {"__tag__": "reset", "value": None}. The pre-existing driver: !reset null was never asserted by any test, so this is unproven; if the loader returns plain None the new hunk fails its own check. Verify loader before merge.
  • Test logic itself is sound: relative-to-base check covers both GPU spellings, rejects plain [] (merge vs reset), non-vacuity guard updated correctly.
  • dict[str, object] annotations require Python ≥3.9 at def time (no from __future__ import annotations visible) — confirm CI runner version.
  • Compose hunk indentation is service-level (aligned with environment:) — correct placement.
  1. SECURITY / TOPOLOGY
  • LEAK: pmoves/config/identity_vocabulary.yaml adds hostname elder-melchor (and references harness family AGInTZ) in a public repo — internal node naming/topology disclosure.
  • No IPs, ports, tokens, or credentials in the diff; grant refs (t_8a012804#329, KNOWN_ROAD compose:pr:3366) are not secrets.
  • Scope creep: identity_vocabulary.yaml and the four AGNOTE4482PHI.t1.md register rows (claim/TTL-lapse/takeover narrative) are process bookkeeping unrelated to the stated PR purpose and undisclosed in the body.
  1. VERDICT: REQUEST_CHANGES — hostname leak in a public repo, PR body misdescribes the diff (claims the compose hunk is absent when it's included), and unverified !reset null loader behaviour could make the shipped fix fail its own test.
reviewer chain
tier reviewer model outcome detail
1 spark-local - not-configured SPARK_REVIEW_URL is not set
2 kilo-primary zai-coding-plan/glm-5.3 ok review produced
3 kilo-alternate - not-reached

_ lane: fleet-review chain (self-hosted kvm4) - spark-local (when online) -> kilo-primary -> kilo-alternate _

found: dict[str, object] = {}
reservations = service.get("deploy", {}).get("resources", {}).get("reservations", {})
devices = reservations.get("devices")
if isinstance(devices, list) and any(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 The Roast: "Two spellings exist," the docstring declares, with the confidence of someone who has seen exactly two spellings. Compose's spec also blesses a third: a devices entry asking for a GPU via capabilities: ["gpu"] with no driver at all. The moment the base grows that shape, this guard goes blind again — which is precisely the no-op-guard failure mode this whole rewrite exists to prevent. You built a smoke detector for a fire you'd already stopped watching for.

🩹 The Fix: Treat a devices entry that requests a GPU via capabilities (e.g. "gpu" in (d.get("capabilities") or [])) as a GPU request too, not just driver == "nvidia" — and decide explicitly whether the NVIDIA_VISIBLE_DEVICES env route is a path the overlay must neutralise before calling the list of two spellings exhaustive.

📏 Severity: suggestion


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

assuming either one alone is how the overlay silently became a no-op.
"""
found: dict[str, object] = {}
reservations = service.get("deploy", {}).get("resources", {}).get("reservations", {})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 The Roast: service.get("deploy", {}).get("resources", {}).get("reservations", {}) — a chain of gets where every default is a lie in waiting. The defaults only fire when the key is absent; an explicit deploy: null hands you None and this chain faceplants with AttributeError instead of a clean assertion failure. The old inline checks had the same allergy — this refactor just gave it a helper function so both call sites can be wrong together. Efficient.

🩹 The Fix:

Suggested change
reservations = service.get("deploy", {}).get("resources", {}).get("reservations", {})
reservations = (((service.get("deploy") or {}).get("resources") or {}).get("reservations") or {})

📏 Severity: nitpick


Reply with @kilocode-bot fix it to have Kilo Code address this issue.

@kilo-code-bot

kilo-code-bot Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Roast 🔥

Verdict: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
🚨 critical 0
⚠️ warning 0
💡 suggestion 1
🤏 nitpick 1
Issue Details (click to expand)
File Line Roast
pmoves/tests/make/test_amd_overlay_reachable.py 173 The guard claims "two spellings exist" of a GPU request, but compose also blesses a third: a devices entry with capabilities: ["gpu"] and no driver. If the base ever grows that shape, the non-vacuity guard goes blind again — the exact no-op failure mode this rewrite exists to prevent.
pmoves/tests/make/test_amd_overlay_reachable.py 171 service.get("deploy", {}).get("resources", {}).get(...) — the defaults only fire when the key is absent; an explicit deploy: null hands back None and the chain dies with AttributeError instead of a clean assertion. Two call sites now share the allergy.

Prose notes (not counted as issues):

  • The PR body is stale against the diff: it states the overlay hunk is "NOT yet in this PR" and python-tests is "expected RED on this head", but the hunk (runtime: !reset null in pmoves/docker-compose.amd.yml) landed in commit c2affce8e and the rewritten test's assertions pass against the current base (base docker-compose.yml:2563 uses runtime: nvidia; the overlay resets it at service level). Reconcile the body before merge — reviewers are reading the RED claim as current and it isn't.
  • The pmoves/docker-compose.amd.yml header comment (lines 1–11, unchanged) still describes only the devices-reservation pattern; the runtime story is told in the register and test docstring but not where a cold-start AMD operator reads it. Optional follow-up, not a changed-line defect.
  • Verification caveat: the sandbox denied running pytest, so validation is static (diff-line checks plus reading the base compose service). The latest fleet review chain at this head also reports the test rewrite satisfied by the overlay hunk.

Fix these issues in Kilo Cloud


🏆 Best part: The base-relative overlay check is genuinely the right design — testing the overlay against what the base actually uses instead of a fixed expectation, while keeping the value == [] tripwire against a merge-instead-of-reset []. Oh wait, that part is actually clean. I need to sit down.

💀 Worst part: A test suite whose whole thesis is "the guard must never go blind while the overlay does nothing" ships a guard that is blind to a valid compose GPU spelling. The smoke detector is pointed at last week's fire.

📊 Overall: Like replacing a flat tire by buying a better spare — the fix is right, but the checklist that certified it still has a blind spot.

Files Reviewed (4 files)
  • pmoves/tests/make/test_amd_overlay_reachable.py - 2 issues
  • pmoves/docker-compose.amd.yml - 0 issues
  • pmoves/config/identity_vocabulary.yaml - 0 issues
  • pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md - 0 issues (workflow bookkeeping)

Reviewed by glm-5.3-flash · Input: 101.7K · Output: 7.4K · Cached: 783.1K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compose Compose files / service Dockerfiles config pmoves/config(s)/ changes docs Documentation governance AGNOTE register / agent definitions / damage-control hooks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AMD overlay no longer neutralises ffmpeg-whisper's GPU request after #3363 (runtime: nvidia); python-tests red on every branch merging main

1 participant